package com.cc.crm.service.impl;

import com.cc.crm.mapper.ShareCustomerMapper;
import com.cc.crm.pojo.ShareCustomer;
import com.cc.crm.service.ShareCustomerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @program:
 * @ClassName:
 * @description:
 * @author: zgc
 * @date:
 * @Version 1.0
 **/
@Service
public class ShareCustomerServiceImpl implements ShareCustomerService {
    @Resource
    private ShareCustomerMapper shareCustomerMapper;

    @Override
    public int shareCustomer(ShareCustomer shareCustomer) {
        return shareCustomerMapper.shareCustomer(shareCustomer);
    }

    @Override
    public List<ShareCustomer> selectShareCustomer(ShareCustomer shareCustomer) {
        return shareCustomerMapper.selectShareCustomer(shareCustomer);
    }
}
